package com.rivulet.dawn.service.mapper;

import com.rivulet.dawn.api.model.archive.EventRecordModel;
import com.rivulet.dawn.api.request.archive.EventRecordQueryRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: 徐家橙
 * @date: 2022/8/16
 **/
@Mapper
public interface EventRecordMapper {
    int delete(List<Long> ids);

    int insert(EventRecordModel record);

    int insertSelective(EventRecordModel record);

    EventRecordModel selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(EventRecordModel record);

    int updateByPrimaryKey(EventRecordModel record);

    List<EventRecordModel> search(EventRecordQueryRequest request);
}
